From: verdre Date: Tue, 17 Apr 2018 21:09:31 +0000 (+0200) Subject: loginDialog: Correct source name for timed login idle timeout X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~929^2~5^2~93 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=a4190f83ac982c8431deba36cd2334ec409815ad;p=gnome-shell.git loginDialog: Correct source name for timed login idle timeout The _blockTimedLoginUntilIdle method sets a timeout to be called after the user is idle for 5 seconds. That timeout is erroneously given the source name "[gnome-shell] this._timedLoginAnimationTime" which looks like a copy-and-paste mistake. The original intention was probably to use a source name of "[gnome-shell] this._timedLoginIdleTimeOutId" which more closely matches existing convention for source names. This commit fixes that. --- diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index 89178b8ee..052a1d814 100644 --- a/js/gdm/loginDialog.js +++ b/js/gdm/loginDialog.js @@ -999,7 +999,7 @@ var LoginDialog = new Lang.Class({ hold.release(); return GLib.SOURCE_REMOVE; }); - GLib.Source.set_name_by_id(this._timedLoginIdleTimeOutId, '[gnome-shell] this._timedLoginAnimationTime'); + GLib.Source.set_name_by_id(this._timedLoginIdleTimeOutId, '[gnome-shell] this._timedLoginIdleTimeOutId'); return hold; },